Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Configurable Template Scaffolding #11017

Draft
wants to merge 1 commit into
base: 5.x
Choose a base branch
from

Conversation

JohnathonKoster
Copy link
Contributor

@JohnathonKoster JohnathonKoster commented Oct 27, 2024

🚧🚧 WIP 🚧🚧

This PR is the start of making Blade feel more at home in other places, and is complimentary to #10967. The changes add a new config/statamic/templates.php configuration file. So far it only allows for setting the templating engine. When set to blade, the scaffolded collection views from the Control Panel will now use the .blade.php extension, saving people from having to rename things manually 💅

Stuff to do/think through:

[ ] Command to go Blade
[ ] Corresponding Statamic CLI update to ask (nicely, of course)
[ ] How this will interact with other things (yet to be determined)
[ ] Maybe configurable default content for scaffolded views?

@JohnathonKoster JohnathonKoster marked this pull request as draft October 27, 2024 02:39
@statamic statamic deleted a comment from Upending36 Oct 28, 2024
@statamic statamic deleted a comment from Upending36 Dec 24, 2024
@Upending36

This comment was marked as spam.

@Upending36

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants